﻿<form id="pagerForm" method="post" action="/?g=admin&m=news&a=clist">
	<input type="hidden" name="status" value="${param.status}">
	<input type="hidden" name="keywords" value="${param.keywords}" />
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>
<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="demo_page1.html" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					标题：<input type="text" name="keyword" />
				</td>
				<td>
					添加日期：<input type="text" class="date" readonly="true" />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/?g=admin&m=news&a=cadd" target="dialog" title="添加新闻分类" width="400" height="240"><span>添加</span></a></li>
			<li><a class="delete" href="/?g=admin&m=news&a=csave&t=del&id={cid}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
			<li><a class="edit" href="/?g=admin&m=news&a=cedt&id={cid}" title="编辑新闻分类" target="dialog" width="400" height="240" mask="true" warn="请选择一个分类"><span>修改</span></a></li>
			<li class="line">line</li>
			<!--<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>-->
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th align="center" width="20"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="80">排序</th>
                <th width="150">标题</th>
                <th width="80">分类</th>
                <th width="80">上级分类</th>
                <th align="center" width="80">添加时间</th>
                <th width="80">添加人</th>
				<th width="80">操作</th>
			</tr>
		</thead>
		<tbody>
			<record type="rs" name="$crs" length="$Pager.PageSize" close="1" key="c">
             <tr target="cid" rel="{$crs(~id~)}">
              <td><input name="ids" value="{$crs(~id~)}" type="checkbox"></td>
              <td>{$crs("px")}</td>
              <td>{$crs("title")}</td>
              <td>{$crs("cid")}</td>
              <td>{$crs("pid")}</td>
              <td>{$crs("addtime")}</td>
			  <td>{$crs("editor")}</td>
              <td class="actions">
			   <span class="place"></span>
			   <a href='/?g=admin&m=news&a=cedt&id={$crs("id")}' title="编辑分类" target="dialog" width="400" height="240" mask="true" class="btn_edt">编辑</a>
			   <a href='/?g=admin&m=news&a=csave&t=del&id={$crs("id")}' target="ajaxTodo" title="删除分类?" class="btn_del">删除</a>
			  </td>
             </tr>
             </record>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共{$Pager.Recordcount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$Pager.Recordcount}" numPerPage="{$Pager.PageSize}" pageNumShown="10" currentPage="{{$Pager.PageNow}"></div>
	</div>
</div>